<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core'%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link href="<c:url value="/resources/homepage.css" />" rel="stylesheet">
<title>RoleForm</title>
<style type="text/css"></style>
</head>
<body>
	<div id="wrapper">
		<!-- ============ HEADER SECTION ============== -->
		<div id="header">
			<div id="headerlogo"></div>
		</div>
		<!-- ============ NAVIGATION SECTION ============== -->
		<div id="menubar">

			<ul>
				<!-- 	<li><a href="Project.html">Projects</a></li>
			<li><a href="Backlog.html">Backlog</a></li>
			<li><a href="AfterClickOnSprint.html">Sprint Planning</a></li>
			<li><a href="#">Sprint Tracking</a></li>
			<li><a href="#">Reports</a></li>
			 -->
				<li><a href="Admin.jsp">Home</a>
				</li>
				<li><a href="Addemp.jsp">Employee</a>
				</li>
				<li><a href="Addrole.jsp">Role</a>
				</li>
				<li><a href="Platform.jsp">Platform</a>
				</li>

				<li><a href="logout">Logout</a>
				</li>
				</li>
			</ul>
		</div>
		<div id="m1">
			<fieldset>
				<legend>
					<h3>Add Roll</h3>
				</legend>
				<form:form action="saveRole" method="post" modelAttribute="role">
				<form:hidden path="roleId"/>
				<table>
				<tr>
				<th>Role Name</th>
				<td><form:input path="roleName"
					style="width: 300px" /></td>
				</tr>
								<tr>
				<th>Role Description</th>
				<td><form:input path="roleDescription"
					style="width: 300px" /></td>
				</tr>
				</table>

			 <input
				type="submit" value="Save"
				style="margin-left: 50px; width: 70px; height: 30px"> 
			</fieldset>
			</form:form>
		</div>
		<div id="footer">
			<p>Copyright &copy; 2014 - All Rights Reserved - Spring Computing
				Pvt. Ltd.</p>
		</div>
	</div>

</body>
</html>